package com.algoshow.model;

import java.awt.*;

/**
 * @author vvv
 * @date 2023-05-15 14 28
 * discription
 */
public class SortData {
    private Integer num;

    private Integer x;

    private Integer y;

    private Color color;

    public SortData() {
    }

    public SortData(Integer num, Integer x, Integer y) {
        this.num = num;
        this.x = x;
        this.y = y;
        this.color = new Color(168,212,223);
    }

    @Override
    public String toString() {
        return "SortData{" +
                "num=" + num +
                ", x=" + x +
                ", y=" + y +
                ", color=" + color +
                '}';
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getX() {
        return x;
    }

    public void setX(Integer x) {
        this.x = x;
    }

    public Integer getY() {
        return y;
    }

    public void setY(Integer y) {
        this.y = y;
    }

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }
}
